package mn.idax.exchange.otc.web;


import mn.idax.exchange.auth.bean.AuthInfo;
import mn.idax.exchange.auth.util.AuthInfoUtils;

public abstract class BaseController {

    public Integer getUserId() {
        AuthInfo current = AuthInfoUtils.getCurrent();
        if (current != null) {
            return current.getId();
        }
        return 0;
    }
}
